package com.jkwzms.jk.jkzb.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.jkwzms.common.entity.BaseOracleEntity;
import com.jkwzms.common.repository.support.annotation.EnableQueryCache;

@Entity
@Table(name = "NBJS_JK_UPLOAD")
@EnableQueryCache
@SequenceGenerator(name = "seq", allocationSize = 1, sequenceName = "nbjs_jkzb_seq")
@org.hibernate.annotations.Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class JkUploadModel extends BaseOracleEntity<Long> implements Serializable {
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    //名称
    @Column(name = "name")
    private String name;
    
    //上传地址
    @Column(name = "address")
    private String address;
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getAddress() {
        return address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }
    
}
